<!-- 项目审批信息 -->
<template>
  <TCollapse title="项目审批信息">
    <iframe
      ref="myIframe4"
      :src="baseDetailsUrl"
      scrolling="no"
      width="100%"
      :height="basicHeight"
      frameborder="0"
    />
  </TCollapse>
</template>

<script>
import TCollapse from '@/components/basic/TCollapse.vue'
export default {
    name: 'ProjectApprovalInfo',
    components: {
        TCollapse
    },
    props: {
        prjId: {
            type: String,
            default: '',
            required: true
        },
        processInstId: {
            type: String,
            default: '',
            required: true
        }
    },
    data() {
        return {
            basicHeight: ''
        }
    },
    computed: {
        baseDetailsUrl() {
            return `${process.env.VUE_APP_JUNNAN_IFRAME_URL}workflow/taskDetail/handleOnlyRecord?prjId=${this.prjId}&processInstId=${this.processInstId}`
        }
    }
}

</script>
<style lang="scss" scoped></style>
